#! /bin/sh
#cd /home
du -sh * |
  sort -nr |
	  sed 10q |
		  while read amount name
			do
			  #mail -s "disk usage warning" $name << EOF
				#Grettings. you're one of the top 10 consumers of disk space on the system. Your home directory uses $amount disk blocks. Please clean up unneeded files, thank you.
			  echo  disk usage warning $name 
				echo Grettings. you are one of the top 10 consumers of disk space on the system. Your home directory uses $amount disk blocks. Please clean up unneeded files, thank you.
			done
